﻿#Region "Using Directives"
Imports System
Imports System.Collections.Generic
Imports System.Text
#End Region

Namespace C4F.DevKit.Bluetooth
    Namespace ServiceAndDeviceDiscovery


        ''' <summary>
        ''' Represents the CSADDR_INFO structure.
        ''' </summary>
        <System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices. _
                                                     LayoutKind.Sequential, _
                                                     CharSet:=System.Runtime. _
                                                     InteropServices.CharSet.Unicode)> _
        Public Class CsAddrInfo

            ''' <summary>
            ''' Windows Sockets local address.
            ''' </summary>
            Public LocalAddr As SocketAddress

            ''' <summary>
            ''' Windows Sockets remote address. T
            ''' </summary>
            Public RemoteAddr As SocketAddress

            ''' <summary>
            ''' Type of Windows socket. 
            ''' </summary>
            Public SocketType As Integer

            ''' <summary>
            ''' Value to pass as the protocol parameter to the socket 
            ''' function to open a socket for this service.
            ''' </summary>
            Public Protocol As Integer

        End Class
    End Namespace
End Namespace